package cn.kopsoft.basic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.kopsoft.common.annotation.Excel;
import cn.kopsoft.common.core.domain.BaseEntity;

/**
 * 公司信息对象 basic_company
 * 
 * @author kopsoftPlatform
 * @date 2025-03-23
 */
public class BasicCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private String id;

    /** 公司编码 */
    @Excel(name = "公司编码")
    private String code;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标记（0未删除 1已删除） */
    @Excel(name = "删除标记", readConverterExp = "0=未删除,1=已删除")
    private String deleteFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("status", getStatus())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
